javascript how to remove accents or diacritics

91

javascript how to remove accents or diacritics -

str.normalize("NFD").replace(/\p{Diacritic}/gu, "")

Comments

Submit
0 Comments